package com.bancomer.batch.util;

public class NumberComparator{
	
	public static int compareLength(int number, int length){
		int result = (number>length)?length:number;
		return result;
	}
	
	public static int compareLength(String numberString, int length){
		int number = Integer.parseInt(numberString);
		int result = (number>length)?length:number;
		return result;
	}
}
